home *** CD-ROM | disk | FTP | other *** search
/ Super Hot Shareware / Digital Concepts Inc. - PC World - SUPER HOT SHAREWARE.iso / apps / system_utilities / CleanDisk / Setup.exe / RCDATA / UNINST_BAT < prev   
Text File  |  1999-10-10  |  1KB  |  57 lines

  1. @echo off
  2. cd %1
  3.  
  4. cls
  5. echo --------------------------------------------------------------------------------  CleanDisk uninstallation procedure                              FMJ-Software  --------------------------------------------------------------------------------
  6. echo Uninstalling... (%1)
  7.  
  8. rem ** Clean up the registry **
  9. if exist CleanDisk.exe goto runexe
  10. echo Error: Could not find CleanDisk.exe
  11. echo.
  12. echo Uninstallation aborted!
  13. goto end
  14. :runexe
  15. echo Cleaning up the registry...
  16. dir > cdblock
  17. CleanDisk.exe -UNINSTALL
  18. :wait
  19. if exist cdblock goto wait
  20.  
  21. rem ** Delete files? **
  22. if not exist cddel goto nodel
  23.  
  24. echo Deleting files...
  25. del cddel
  26. :retry
  27. del CleanDisk.*
  28. if exist CleanDisk.exe goto retry
  29. if exist CleanDisk.hlp del CleanDisk.hlp
  30. if exist CleanDisk.gid attrib -h CleanDisk.gid
  31. if exist CleanDisk.gid del CleanDisk.gid
  32. if exist CleanDisk.ini del CleanDisk.ini
  33. if exist setup.exe del setup.exe
  34. if exist file_id.diz del file_id.diz
  35. del *.txt
  36. del *.CleanDisk
  37.  
  38. echo.
  39. echo Done!
  40. echo.
  41. echo.
  42. echo.
  43. echo.
  44. echo.
  45. echo.
  46. echo.
  47. echo.
  48. del uninst.bat
  49. goto end
  50.  
  51. :nodel
  52. echo.
  53. echo Done! (No files deleted).
  54. echo.
  55.  
  56. :end
  57.